using System;

namespace Atomic.Structures
{
	[Serializable]
	public class StructureDegeneracy
	{
		public StructureDegeneracy(Structure structure, int degeneracy)
		{
			if (structure == null)
			{
				throw new ArgumentNullException();
			}

			if (degeneracy < 0)
			{
				throw new ArgumentOutOfRangeException();
			}

			Structure = structure;
			Degeneracy = degeneracy;
		}

		public Structure Structure
		{
			get;
			private set;
		}

		public int Degeneracy
		{
			get;
			private set;
		}
	}
}
